
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>vscode配置C++以及boost库开发环境 · 恋恋风辰的编程笔记</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="恋恋风辰">
        <meta name="identifier" content="图书编号" scheme="ISBN">
        
    
    <link rel="stylesheet" href="../../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-lightbox/css/lightbox.min.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
                
                <link rel="stylesheet" href="../../../gitbook/gitbook-plugin-theme-lou/lou.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../../gitbook/images/favicon.ico" type="image/x-icon">

    
    

    </head>
    <body>
         
<div class="donate-modal modal">
  <div class="modal-header">
    <div>
      <span>
        <img
          id="modal-avatar"
          class="modal-avatar"
          src="/static/head.jpg"
        />
      </span>
      <span id="nickname"> 恋恋风辰 </span>
      <p class="modal-close close" onclick="closeDonateModal()">×</p>
    </div>
    <div class="message">
      <div class="tip">
        <i></i>
        <span>随意打赏，但不要超过一顿早餐钱！</span>
      </div>
    </div>
  </div>
  <div class="modal-content">
    <div class="modal-pay-way">
      <div id="wxpay" onclick="showDonateImg(0)">
        <input
          type="radio"
          name="pay-way"
          value="wxpay"
          class="zs-type"
          checked="checked"
        />
        <span>
          <img
            id="wxpay-logo"
            src=""
          />
        </span>
      </div>
      <div id="alipay" onclick="showDonateImg(1)">
        <input type="radio" name="pay-way" value="alipay" class="zs-type" />
        <span>
          <img
            id="alipay-logo"
            src=""
          />
        </span>
      </div>
    </div>
    <div class="modal-pay-qrcode">
      <img id="wxpay-code" src="/static/wechatmoney.jpg" />
      <img
        id="alipay-code"
        src="/static/zfbmoney.jpg"
        hidden
      />
    </div>
  </div>
</div>
<div class="mask"></div>


<div class="book">
  <div class="header-inner">
    <!-- LOGO -->
    <div class="logo"></div>
    <span class="title"></span>

    <!-- Search -->
    
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>


    <!-- Nav -->
    <ul class="header-nav">
      <li>
        <a href="https://llfc.club" target="_blank">官方博客地址</a>
      </li><li>
        <a href="https://space.bilibili.com/271469206" target="_blank">B站</a>
      </li>
    </ul>
  </div>

  <div class="book-summary">
    <div class="book-summary-title">文档目录</div>
     
    <nav role="navigation">


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../../">
            
                <a href="../../../">
            
                    
                    简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" >
            
                <span>
            
                    
                    [C++]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" >
            
                <span>
            
                    
                    [C++环境搭建]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1.1" data-path="../section1/cpp02.html">
            
                <a href="../section1/cpp02.html">
            
                    
                    搭建vscode开发环境
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.2" >
            
                <span>
            
                    
                    [C++基础语法]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.2.1" data-path="../section2/cpp03.html">
            
                <a href="../section2/cpp03.html">
            
                    
                    输入输出流和变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.2" data-path="../section2/cpp04.html">
            
                <a href="../section2/cpp04.html">
            
                    
                    string类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.3" data-path="../section2/cpp05.html">
            
                <a href="../section2/cpp05.html">
            
                    
                    vector类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.4" data-path="../section2/cpp06.html">
            
                <a href="../section2/cpp06.html">
            
                    
                    迭代器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.5" data-path="../section2/cpp07.html">
            
                <a href="../section2/cpp07.html">
            
                    
                    数组
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.6" data-path="../section2/cpp08.html">
            
                <a href="../section2/cpp08.html">
            
                    
                    多维数组
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.7" data-path="../section2/cpp09.html">
            
                <a href="../section2/cpp09.html">
            
                    
                    函数
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.3" >
            
                <span>
            
                    
                    [C++类的认识]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.3.1" data-path="../section3/cpp10.html">
            
                <a href="../section3/cpp10.html">
            
                    
                    类和对象
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.2" data-path="../section3/cpp11.html">
            
                <a href="../section3/cpp11.html">
            
                    
                    类的访问控制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.3" data-path="../section3/cpp12.html">
            
                <a href="../section3/cpp12.html">
            
                    
                    类的作用域
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.4" data-path="../section3/cpp13.html">
            
                <a href="../section3/cpp13.html">
            
                    
                    类的构造函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.5" data-path="../section3/cpp14.html">
            
                <a href="../section3/cpp14.html">
            
                    
                    类的静态成员
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.6" data-path="../section3/cpp15.html">
            
                <a href="../section3/cpp15.html">
            
                    
                    IO流
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.7" data-path="../section3/cpp16.html">
            
                <a href="../section3/cpp16.html">
            
                    
                    容器类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.8" data-path="../section3/cpp20.html">
            
                <a href="../section3/cpp20.html">
            
                    
                    关联容器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.9" data-path="../section3/cpp25.html">
            
                <a href="../section3/cpp25.html">
            
                    
                    拷贝构造和单例模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.10" data-path="../section3/cpp26.html">
            
                <a href="../section3/cpp26.html">
            
                    
                    拷贝控制和资源管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.11" data-path="../section3/cpp27.html">
            
                <a href="../section3/cpp27.html">
            
                    
                    类的swap操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.12" data-path="../section3/cpp28.html">
            
                <a href="../section3/cpp28.html">
            
                    
                    类的拷贝控制案例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.13" data-path="../section3/cpp30.html">
            
                <a href="../section3/cpp30.html">
            
                    
                    右值引用与移动构造函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.14" data-path="../section3/cpp33.html">
            
                <a href="../section3/cpp33.html">
            
                    
                    运算符重载
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.15" data-path="../section3/cpp35.html">
            
                <a href="../section3/cpp35.html">
            
                    
                    封装继承和多态
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.16" data-path="../section3/cpp36.html">
            
                <a href="../section3/cpp36.html">
            
                    
                    类模板和函数模板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.17" data-path="../section3/cpp41.html">
            
                <a href="../section3/cpp41.html">
            
                    
                    重写重载和覆盖的区别
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.18" data-path="../section3/cpp42.html">
            
                <a href="../section3/cpp42.html">
            
                    
                    虚函数表原理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.19" data-path="../section3/cpp31.html">
            
                <a href="../section3/cpp31.html">
            
                    
                    继承面试题
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.4" >
            
                <span>
            
                    
                    [C++泛型用法]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.4.1" data-path="../section4/cpp17.html">
            
                <a href="../section4/cpp17.html">
            
                    
                    泛型算法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4.2" data-path="../section4/cpp18.html">
            
                <a href="../section4/cpp18.html">
            
                    
                    泛型定制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4.3" data-path="../section4/cpp19.html">
            
                <a href="../section4/cpp19.html">
            
                    
                    迭代器分类
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.5" >
            
                <span>
            
                    
                    [C++智能指针]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.5.1" data-path="../section5/cpp21.html">
            
                <a href="../section5/cpp21.html">
            
                    
                    shared_ptr
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5.2" data-path="../section5/cpp22.html">
            
                <a href="../section5/cpp22.html">
            
                    
                    unique_ptr和weak_ptr
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5.3" data-path="../section5/cpp23.html">
            
                <a href="../section5/cpp23.html">
            
                    
                    动态数组
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5.4" data-path="../section5/cpp32.html">
            
                <a href="../section5/cpp32.html">
            
                    
                    再谈单例模式
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.6" >
            
                <span>
            
                    
                    [C++内存管理]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.6.1" data-path="../section6/cpp29.html">
            
                <a href="../section6/cpp29.html">
            
                    
                    动态内存管理示例
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.7" >
            
                <span>
            
                    
                    [C11新特性]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.7.1" data-path="../section7/cpp34.html">
            
                <a href="../section7/cpp34.html">
            
                    
                    动态内存管理示例
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.8" >
            
                <span>
            
                    
                    [C++模板]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.8.1" data-path="../section8/cpp37.html">
            
                <a href="../section8/cpp37.html">
            
                    
                    模板类的友元和折叠规则
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.8.2" data-path="../section8/cpp38.html">
            
                <a href="../section8/cpp38.html">
            
                    
                    forward原样转发
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.8.3" data-path="../section8/cpp39.html">
            
                <a href="../section8/cpp39.html">
            
                    
                    模拟实现vector
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.8.4" data-path="../section8/cpp40.html">
            
                <a href="../section8/cpp40.html">
            
                    
                    模板特例化
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.9" >
            
                <span>
            
                    
                    [Qt界面编程]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.9.1" data-path="../section9/qt01.html">
            
                <a href="../section9/qt01.html">
            
                    
                    环境搭建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.2" data-path="../section9/qt02.html">
            
                <a href="../section9/qt02.html">
            
                    
                    创建项目和编译
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.3" data-path="../section9/qt03.html">
            
                <a href="../section9/qt03.html">
            
                    
                    对话框
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.4" data-path="../section9/qt04.html">
            
                <a href="../section9/qt04.html">
            
                    
                    信号和槽
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.5" data-path="../section9/qt05.html">
            
                <a href="../section9/qt05.html">
            
                    
                    模态对话框切换
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.6" data-path="../section9/qt06.html">
            
                <a href="../section9/qt06.html">
            
                    
                    几种封装好的对话框
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.7" data-path="../section9/qt07.html">
            
                <a href="../section9/qt07.html">
            
                    
                    QT QLineEdit介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.8" data-path="../section9/qt08.html">
            
                <a href="../section9/qt08.html">
            
                    
                    QT 布局
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.9" data-path="../section9/qt09.html">
            
                <a href="../section9/qt09.html">
            
                    
                    QT 主窗口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.10" data-path="../section9/qt10.html">
            
                <a href="../section9/qt10.html">
            
                    
                    Qt QTextEdit知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.11" data-path="../section9/qt11.html">
            
                <a href="../section9/qt11.html">
            
                    
                    Qt 文本高亮
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.12" data-path="../section9/qt12.html">
            
                <a href="../section9/qt12.html">
            
                    
                    Qt 拖拽事件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.13" data-path="../section9/qt13.html">
            
                <a href="../section9/qt13.html">
            
                    
                    QT 事件系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.14" data-path="../section9/qt14.html">
            
                <a href="../section9/qt14.html">
            
                    
                    Qt 按键事件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.15" data-path="../section9/qt15.html">
            
                <a href="../section9/qt15.html">
            
                    
                    Qt 鼠标事件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.16" data-path="../section9/qt16.html">
            
                <a href="../section9/qt16.html">
            
                    
                    Qt 定时器事件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.17" data-path="../section9/qt17.html">
            
                <a href="../section9/qt17.html">
            
                    
                    Qt MVC结构之Model模型介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.18" data-path="../section9/qt18.html">
            
                <a href="../section9/qt18.html">
            
                    
                    Qt MVC结构之QItemSelectionModel模型介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.19" data-path="../section9/qt19.html">
            
                <a href="../section9/qt19.html">
            
                    
                    Qt MVC结构之QItemDelegate介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.20" data-path="../section9/qt20.html">
            
                <a href="../section9/qt20.html">
            
                    
                    Qt 项目视图便捷类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.21" data-path="../section9/qt21.html">
            
                <a href="../section9/qt21.html">
            
                    
                    Qt 自定义模型的拖动实现
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.22" data-path="../section9/qt22.html">
            
                <a href="../section9/qt22.html">
            
                    
                    Qt 实现电子相册(一)--目录树和向导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.23" data-path="../section9/qt23.html">
            
                <a href="../section9/qt23.html">
            
                    
                    QT 实现电子相册(二)--双击展示图片与切换
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.24" data-path="../section9/qt24.html">
            
                <a href="../section9/qt24.html">
            
                    
                    QT 实现电子相册(三)--导入功能和幻灯片ui设计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.25" data-path="../section9/qt25.html">
            
                <a href="../section9/qt25.html">
            
                    
                    QT 实现电子相册(四)--实现播放动画
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9.26" data-path="../section9/qt26.html">
            
                <a href="../section9/qt26.html">
            
                    
                    QT 实现电子相册(五)--实现幻灯片的暂停和切换
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.10" >
            
                <span>
            
                    
                    [Boost和网络]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.2.10.1" data-path="asio01.html">
            
                <a href="asio01.html">
            
                    
                    vscode配置C++以及boost库开发环境
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    [golang]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" >
            
                <span>
            
                    
                    [环境搭建]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1.1" data-path="../../go/env/golang01.html">
            
                <a href="../../go/env/golang01.html">
            
                    
                    linux环境搭建和编码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.1.2" data-path="../../go/env/golang02.html">
            
                <a href="../../go/env/golang02.html">
            
                    
                    windows环境搭建和vscode配置
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.2" >
            
                <span>
            
                    
                    [基础]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.2.1" data-path="../../go/base/golang03.html">
            
                <a href="../../go/base/golang03.html">
            
                    
                    基本变量和demo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.2" data-path="../../go/base/golang04.html">
            
                <a href="../../go/base/golang04.html">
            
                    
                    Cobra命令行参数库的使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.3" data-path="../../go/base/golang05.html">
            
                <a href="../../go/base/golang05.html">
            
                    
                    slice知识介绍和使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2.4" data-path="../../go/base/golang06.html">
            
                <a href="../../go/base/golang06.html">
            
                    
                    map介绍
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.3" >
            
                <span>
            
                    
                    [进阶]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.3.1" data-path="../../go/super/golang07.html">
            
                <a href="../../go/super/golang07.html">
            
                    
                    实现四种排序(快速，冒泡，插入，选择)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.2" data-path="../../go/super/golang08.html">
            
                <a href="../../go/super/golang08.html">
            
                    
                    实现堆排序
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.3" data-path="../../go/super/golang09.html">
            
                <a href="../../go/super/golang09.html">
            
                    
                    解密定时器的实现细节
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.4" data-path="../../go/super/golang10.html">
            
                <a href="../../go/super/golang10.html">
            
                    
                    使用etcd
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.5" data-path="../../go/super/golang11.html">
            
                <a href="../../go/super/golang11.html">
            
                    
                    函数介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.6" data-path="../../go/super/golang12.html">
            
                <a href="../../go/super/golang12.html">
            
                    
                    结构体struct
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.7" data-path="../../go/super/golang13.html">
            
                <a href="../../go/super/golang13.html">
            
                    
                    接口interface
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.8" data-path="../../go/super/golang14.html">
            
                <a href="../../go/super/golang14.html">
            
                    
                    接口内部实现
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.9" data-path="../../go/super/golang15.html">
            
                <a href="../../go/super/golang15.html">
            
                    
                    interface应用和复习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.10" data-path="../../go/super/golang16.html">
            
                <a href="../../go/super/golang16.html">
            
                    
                    反射用法详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.11" data-path="../../go/super/golang17.html">
            
                <a href="../../go/super/golang17.html">
            
                    
                    图解Go协程调度原理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.12" data-path="../../go/super/golang18.html">
            
                <a href="../../go/super/golang18.html">
            
                    
                    实现生产者消费者模型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.13" data-path="../../go/super/golang19.html">
            
                <a href="../../go/super/golang19.html">
            
                    
                    channel详解和协程优雅退出
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3.14" data-path="../../go/super/golang42.html">
            
                <a href="../../go/super/golang42.html">
            
                    
                    defer和panic
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.4" >
            
                <span>
            
                    
                    [项目实战]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.4.1" data-path="../../go/project/golang20.html">
            
                <a href="../../go/project/golang20.html">
            
                    
                    打造高并发日志采集系统（一）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.2" data-path="../../go/project/golang21.html">
            
                <a href="../../go/project/golang21.html">
            
                    
                    打造高并发日志采集系统（二）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.3" data-path="../../go/project/golang22.html">
            
                <a href="../../go/project/golang22.html">
            
                    
                    打造高并发日志采集系统（三）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.4" data-path="../../go/project/golang23.html">
            
                <a href="../../go/project/golang23.html">
            
                    
                    打造高并发日志采集系统（四）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.5" data-path="../../go/project/golang24.html">
            
                <a href="../../go/project/golang24.html">
            
                    
                    打造高并发日志采集系统（五）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.6" data-path="../../go/project/golang25.html">
            
                <a href="../../go/project/golang25.html">
            
                    
                    打造高并发日志采集系统（六）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.7" data-path="../../go/project/golang26.html">
            
                <a href="../../go/project/golang26.html">
            
                    
                    打造高并发日志采集系统（七）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.8" data-path="../../go/project/golang27.html">
            
                <a href="../../go/project/golang27.html">
            
                    
                    打造高并发日志采集系统（八）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.9" data-path="../../go/project/golang28.html">
            
                <a href="../../go/project/golang28.html">
            
                    
                    打造高并发日志采集系统（九）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.10" data-path="../../go/project/golang29.html">
            
                <a href="../../go/project/golang29.html">
            
                    
                    打造高并发日志采集系统（十）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4.11" data-path="../../go/project/golang30.html">
            
                <a href="../../go/project/golang30.html">
            
                    
                    谈谈高并发秒拍系统架构设计
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.5" >
            
                <span>
            
                    
                    [存储]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.5.1" data-path="../../go/db/golang34.html">
            
                <a href="../../go/db/golang34.html">
            
                    
                    操作mongo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5.2" data-path="../../go/db/golang35.html">
            
                <a href="../../go/db/golang35.html">
            
                    
                    使用redis
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.6" >
            
                <span>
            
                    
                    [网络]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.6.1" data-path="../../go/net/golang31.html">
            
                <a href="../../go/net/golang31.html">
            
                    
                    netpoll原理(一)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6.2" data-path="../../go/net/golang32.html">
            
                <a href="../../go/net/golang32.html">
            
                    
                    netpoll原理(二)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6.3" data-path="../../go/net/golang33.html">
            
                <a href="../../go/net/golang33.html">
            
                    
                    化繁为简，写一个简单好用的server
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6.4" data-path="../../go/net/golang36.html">
            
                <a href="../../go/net/golang36.html">
            
                    
                    对io.readfull的理解
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.7" >
            
                <span>
            
                    
                    [博客系统]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.7.1" data-path="../../go/blog/golang37.html">
            
                <a href="../../go/blog/golang37.html">
            
                    
                    博客系统后台开发(一)服务结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.7.2" data-path="../../go/blog/golang38.html">
            
                <a href="../../go/blog/golang38.html">
            
                    
                    博客系统后台开发(二)添加渲染
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.7.3" data-path="../../go/blog/golang39.html">
            
                <a href="../../go/blog/golang39.html">
            
                    
                    博客系统后台开发(三)完善项目并容器化
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3.8" >
            
                <span>
            
                    
                    [面试]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.8.1" data-path="../../go/interview/golang40.html">
            
                <a href="../../go/interview/golang40.html">
            
                    
                    面试题汇总(一)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8.2" data-path="../../go/interview/golang41.html">
            
                <a href="../../go/interview/golang41.html">
            
                    
                    面试题汇总(二)
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    [Python]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" >
            
                <span>
            
                    
                    [基础]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1.1" data-path="../../python/base/python1.html">
            
                <a href="../../python/base/python1.html">
            
                    
                    变量和函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.2" data-path="../../python/base/python2.html">
            
                <a href="../../python/base/python2.html">
            
                    
                    参数解析argparse
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.3" data-path="../../python/base/python3.html">
            
                <a href="../../python/base/python3.html">
            
                    
                    生成器和迭代器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.4" data-path="../../python/base/python4.html">
            
                <a href="../../python/base/python4.html">
            
                    
                    zip库的使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.5" data-path="../../python/base/python6.html">
            
                <a href="../../python/base/python6.html">
            
                    
                    函数式编程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.6" data-path="../../python/base/python8.html">
            
                <a href="../../python/base/python8.html">
            
                    
                    定制类和枚举
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.7" data-path="../../python/base/python10.html">
            
                <a href="../../python/base/python10.html">
            
                    
                    元类
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.8" data-path="../../python/base/python11.html">
            
                <a href="../../python/base/python11.html">
            
                    
                    异常处理和测试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.9" data-path="../../python/base/python15.html">
            
                <a href="../../python/base/python15.html">
            
                    
                    内建模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.10" data-path="../../python/base/processthread.html">
            
                <a href="../../python/base/processthread.html">
            
                    
                    进程和线程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.11" data-path="../../python/base/rematch.html">
            
                <a href="../../python/base/rematch.html">
            
                    
                    正则表达式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.12" data-path="../../python/base/python19.html">
            
                <a href="../../python/base/python19.html">
            
                    
                    常见的第三方库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.13" data-path="../../python/base/python20.html">
            
                <a href="../../python/base/python20.html">
            
                    
                    网络编程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.14" data-path="../../python/base/python22.html">
            
                <a href="../../python/base/python22.html">
            
                    
                    访问数据库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.15" data-path="../../python/base/python28.html">
            
                <a href="../../python/base/python28.html">
            
                    
                    单例模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.1.16" data-path="../../python/base/pythonio.html">
            
                <a href="../../python/base/pythonio.html">
            
                    
                    文件读写和序列化
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4.2" >
            
                <span>
            
                    
                    [项目实战]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.2.1" data-path="../../python/proj/python7.html">
            
                <a href="../../python/proj/python7.html">
            
                    
                    打飞机
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.2" data-path="../../python/proj/python16.html">
            
                <a href="../../python/proj/python16.html">
            
                    
                    获取糗事百科段子
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.3" data-path="../../python/proj/python5.html">
            
                <a href="../../python/proj/python5.html">
            
                    
                    2048游戏
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.4" data-path="../../python/proj/python17.html">
            
                <a href="../../python/proj/python17.html">
            
                    
                    urlib爬虫
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.5" data-path="../../python/proj/python18.html">
            
                <a href="../../python/proj/python18.html">
            
                    
                    爬虫中加入cookie
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.6" data-path="../../python/proj/python21.html">
            
                <a href="../../python/proj/python21.html">
            
                    
                    smtp发送邮件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.7" data-path="../../python/proj/python23.html">
            
                <a href="../../python/proj/python23.html">
            
                    
                    requests库爬取猫眼电影
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.8" data-path="../../python/proj/python24.html">
            
                <a href="../../python/proj/python24.html">
            
                    
                    Xpath解析并抓取美女图片
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.9" data-path="../../python/proj/python25.html">
            
                <a href="../../python/proj/python25.html">
            
                    
                    BeautifulSoup介绍和实战
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.10" data-path="../../python/proj/python26.html">
            
                <a href="../../python/proj/python26.html">
            
                    
                    Ajax爬取今日头条cosplay美女
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.11" data-path="../../python/proj/python27.html">
            
                <a href="../../python/proj/python27.html">
            
                    
                    selenium 抓取买家秀
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2.12" data-path="../../python/proj/python29.html">
            
                <a href="../../python/proj/python29.html">
            
                    
                    Tinker+BeautifulSoup爬虫
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    [网络编程]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" >
            
                <span>
            
                    
                    [protobuffer]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1.1" data-path="../../net/protobuffer/probuff.html">
            
                <a href="../../net/protobuffer/probuff.html">
            
                    
                    protobuffer配置
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5.2" >
            
                <span>
            
                    
                    [tcp基础]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.2.1" data-path="../../net/tcp/cpptcpnian.html">
            
                <a href="../../net/tcp/cpptcpnian.html">
            
                    
                    TCP粘包处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2.2" data-path="../../net/tcp/tcpapi.html">
            
                <a href="../../net/tcp/tcpapi.html">
            
                    
                    Linux环境API
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2.3" data-path="../../net/tcp/econreset.html">
            
                <a href="../../net/tcp/econreset.html">
            
                    
                    ECONNRESET
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2.4" data-path="../../net/tcp/newproblem.html">
            
                <a href="../../net/tcp/newproblem.html">
            
                    
                    常见问题总结
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2.5" data-path="../../net/tcp/easyloopser.html">
            
                <a href="../../net/tcp/easyloopser.html">
            
                    
                    简单循环服务器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2.6" data-path="../../net/tcp/easymulser.html">
            
                <a href="../../net/tcp/easymulser.html">
            
                    
                    简单的并发服务器
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5.3" >
            
                <span>
            
                    
                    [并发]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.3.1" data-path="../../net/concurrency/ioservertype.html">
            
                <a href="../../net/concurrency/ioservertype.html">
            
                    
                    大并发服务器框架设计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3.2" data-path="../../net/concurrency/selectlearn.html">
            
                <a href="../../net/concurrency/selectlearn.html">
            
                    
                    细说select
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3.3" data-path="../../net/concurrency/epoll1.html">
            
                <a href="../../net/concurrency/epoll1.html">
            
                    
                    epoll基础api
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3.4" data-path="../../net/concurrency/epoll2.html">
            
                <a href="../../net/concurrency/epoll2.html">
            
                    
                    epoll server
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3.5" data-path="../../net/concurrency/miniserver.html">
            
                <a href="../../net/concurrency/miniserver.html">
            
                    
                    epoll 封装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3.6" data-path="../../net/concurrency/epollim.html">
            
                <a href="../../net/concurrency/epollim.html">
            
                    
                    epoll注意事项
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5.4" >
            
                <span>
            
                    
                    [源码刨析]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.4.1" data-path="../../net/source/redisset.html">
            
                <a href="../../net/source/redisset.html">
            
                    
                    redis 配置和使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.2" data-path="../../net/source/networkbook.html">
            
                <a href="../../net/source/networkbook.html">
            
                    
                    网络编程资料
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.3" data-path="../../net/source/libevent1.html">
            
                <a href="../../net/source/libevent1.html">
            
                    
                    libevent多线程接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.4" data-path="../../net/source/libevent2.html">
            
                <a href="../../net/source/libevent2.html">
            
                    
                    libevent之eventbase
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.5" data-path="../../net/source/libevent3.html">
            
                <a href="../../net/source/libevent3.html">
            
                    
                    libevent之eventloop轮询
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.6" data-path="../../net/source/libevent4.html">
            
                <a href="../../net/source/libevent4.html">
            
                    
                    libevent之bufferevent
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.7" data-path="../../net/source/libevent5.html">
            
                <a href="../../net/source/libevent5.html">
            
                    
                    libevent实战
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.8" data-path="../../net/source/winlibevent.html">
            
                <a href="../../net/source/winlibevent.html">
            
                    
                    windows环境libevent搭建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.9" data-path="../../net/source/libevlearn.html">
            
                <a href="../../net/source/libevlearn.html">
            
                    
                    libevent源码刨析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.10" data-path="../../net/source/libiopbase.html">
            
                <a href="../../net/source/libiopbase.html">
            
                    
                    libiop基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.11" data-path="../../net/source/libiop.html">
            
                <a href="../../net/source/libiop.html">
            
                    
                    libiop通讯流程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.12" data-path="../../net/source/redis1.html">
            
                <a href="../../net/source/redis1.html">
            
                    
                    对于redis底层框架的理解(一)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.13" data-path="../../net/source/redis2.html">
            
                <a href="../../net/source/redis2.html">
            
                    
                    对于redis底层框架的理解(二)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.14" data-path="../../net/source/redis3.html">
            
                <a href="../../net/source/redis3.html">
            
                    
                    对于redis底层框架的理解(三)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.15" data-path="../../net/source/redis4.html">
            
                <a href="../../net/source/redis4.html">
            
                    
                    对于redis底层框架的理解(四)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4.16" data-path="../../net/source/redis5.html">
            
                <a href="../../net/source/redis5.html">
            
                    
                    对于redis底层框架的理解(五)
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                    [解决方案]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" >
            
                <span>
            
                    
                    [python]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1.1" data-path="../../sln/section1/sln01.html">
            
                <a href="../../sln/section1/sln01.html">
            
                    
                    搭建python虚拟环境
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6.2" >
            
                <span>
            
                    
                    [hexo]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.2.1" data-path="../../sln/section2/hexoblogs.html">
            
                <a href="../../sln/section2/hexoblogs.html">
            
                    
                    hexo搭建个人博客
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2.2" data-path="../../sln/section2/hexoblogs2.html">
            
                <a href="../../sln/section2/hexoblogs2.html">
            
                    
                    hexo问题解决方案
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6.3" >
            
                <span>
            
                    
                    [web安全]
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.3.1" data-path="../../sln/section3/web01.html">
            
                <a href="../../sln/section3/web01.html">
            
                    
                    解决博客脚本注入问题
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>

</nav>
     
  </div>

  <!-- Content nav -->
  <div class="book-anchor">
    <div class="book-anchor-title"></div>

    <div class="book-anchor-body"></div>
  </div>

  <div class="book-body">
    
    <div class="body-inner">
       

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../../.." >vscode配置C++以及boost库开发环境</a>
    </h1>
</div>



      <div class="page-wrapper" tabindex="-1" role="main">
        <div class="page-inner">
          
<div id="book-search-results">
    <div class="search-noresults">
    
          <section class="normal markdown-section">
             <h2 id="&#x4E0B;&#x8F7D;vscode">&#x4E0B;&#x8F7D;vscode</h2>
<p>&#x53BB;&#x5B98;&#x7F51;<a href="https://code.visualstudio.com/" target="_blank">https://code.visualstudio.com/</a>&#x4E0B;&#x8F7D;&#x6700;&#x65B0;&#x7248;&#x672C;&#x5C31;&#x53EF;&#x4EE5;&#x4E86;
<!--more-->
<a href="https://cdn.llfc.club/1675217312867.jpg" data-lightbox="6fd8ada0-ed0e-4de6-8811-9f093da6bf86" data-title="https://cdn.llfc.club/1675217312867.jpg" target="_blank"><img src="https://cdn.llfc.club/1675217312867.jpg" alt="https://cdn.llfc.club/1675217312867.jpg"></a>
&#x4E0B;&#x8F7D;&#x540E;&#x6253;&#x5F00;vscode&#xFF0C;&#x5B89;&#x88C5;C++&#x6269;&#x5C55;
<a href="https://cdn.llfc.club/1675217797696.jpg" data-lightbox="2bdb06a8-70a9-46a9-8f3b-4d19b878a7a3" data-title="https://cdn.llfc.club/1675217797696.jpg" target="_blank"><img src="https://cdn.llfc.club/1675217797696.jpg" alt="https://cdn.llfc.club/1675217797696.jpg"></a>
&#x76EE;&#x524D;&#x5C31;&#x5148;&#x914D;&#x7F6E;&#x5230;&#x8FD9;&#x91CC;&#xFF0C;&#x4EE5;&#x540E;&#x7684;&#x914D;&#x7F6E;&#x7559;&#x7ED9;&#x4E0B;&#x9762;&#x4ECB;&#x7ECD;&#x3002;</p>
<h2 id="&#x4E0B;&#x8F7D;mingw">&#x4E0B;&#x8F7D;mingw</h2>
<p>&#x53BB;mingw&#x5B98;&#x7F51;&#x4E0B;&#x8F7D;&#x538B;&#x7F29;&#x5305;
<a href="https://sourceforge.net/projects/mingw-w64/files/" target="_blank">https://sourceforge.net/projects/mingw-w64/files/</a>
&#x4E0B;&#x8F7D;&#x901F;&#x5EA6;&#x6162;&#x7684;&#x8BDD;&#x53EF;&#x4EE5;&#x53BB;&#x6211;&#x7684;&#x7F51;&#x76D8;&#x4E0B;&#x8F7D;&#xFF0C;&#x6574;&#x7406;&#x4E86;mingw&#x548C;boost&#x7684;&#x5B89;&#x88C5;&#x5305;</p>
<p>&#x94FE;&#x63A5;: <a href="https://pan.baidu.com/s/1IJSyQqdf-lbuFG12FhDt2A?pwd=2dhi" target="_blank">https://pan.baidu.com/s/1IJSyQqdf-lbuFG12FhDt2A?pwd=2dhi</a> 
&#x63D0;&#x53D6;&#x7801;: 2dhi </p>
<p>&#x9009;&#x62E9;x86_64-win32-seh,&#x5F53;&#x7136;&#x9009;&#x62E9;x86_64-posix-seh&#x4E5F;&#x53EF;&#x4EE5;&#x3002;&#x4E00;&#x4E2A;&#x662F;windows&#x7EBF;&#x7A0B;&#xFF0C;&#x4E00;&#x4E2A;&#x662F;posix&#x7EBF;&#x7A0B;&#x3002;
<a href="https://cdn.llfc.club/1675218594895.jpg" data-lightbox="3bc21a2f-b783-4641-b5df-0a825c074163" data-title="https://cdn.llfc.club/1675218594895.jpg" target="_blank"><img src="https://cdn.llfc.club/1675218594895.jpg" alt="https://cdn.llfc.club/1675218594895.jpg"></a>
&#x4E0B;&#x8F7D;&#x540E;&#x89E3;&#x538B;&#x7F29;&#x5230;&#x6307;&#x5B9A;&#x6587;&#x4EF6;&#x5939;&#xFF0C;&#x6211;&#x7684;&#x76EE;&#x5F55;&#x4E3A; D:\cppsoft\mingw64
<a href="https://cdn.llfc.club/1675218863338.jpg" data-lightbox="dc0d625e-19d8-4b2a-91cb-6df834e2410e" data-title="https://cdn.llfc.club/1675218863338.jpg" target="_blank"><img src="https://cdn.llfc.club/1675218863338.jpg" alt="https://cdn.llfc.club/1675218863338.jpg"></a>
&#x914D;&#x7F6E;&#x73AF;&#x5883;&#x53D8;&#x91CF;&#xFF0C;&#x9009;&#x62E9;&#x7528;&#x6237;&#x7684;&#x73AF;&#x5883;&#x53D8;&#x91CF;path, &#x6DFB;&#x52A0;D:\cppsoft\mingw64\bin&#xFF0C;&#x5177;&#x4F53;&#x8DEF;&#x5F84;&#x770B;&#x4F60;&#x81EA;&#x5DF1;&#x7684;&#x914D;&#x7F6E;
<a href="https://cdn.llfc.club/1675219007194.jpg" data-lightbox="11467a4d-e5f9-4ffc-b85e-8c4c16f67c81" data-title="https://cdn.llfc.club/1675219007194.jpg" target="_blank"><img src="https://cdn.llfc.club/1675219007194.jpg" alt="https://cdn.llfc.club/1675219007194.jpg"></a>
&#x6D4B;&#x8BD5;&#x662F;&#x5426;&#x914D;&#x7F6E;&#x6210;&#x529F;&#xFF0C;&#x6253;&#x5F00;cmd&#xFF0C;&#x5728;&#x91CC;&#x9762;&#x8F93;&#x5165;g++&#x6216;&#x8005;gcc&#xFF0C;&#x5982;&#x679C;&#x8F93;&#x51FA;no input files &#x5219;&#x8BF4;&#x660E;&#x914D;&#x7F6E;&#x6210;&#x529F;
<a href="https://cdn.llfc.club/1675219207819.jpg" data-lightbox="d4f5f789-2ebc-43b4-a670-a03ec6650555" data-title="https://cdn.llfc.club/1675219207819.jpg" target="_blank"><img src="https://cdn.llfc.club/1675219207819.jpg" alt="https://cdn.llfc.club/1675219207819.jpg"></a></p>
<h2 id="&#x914D;&#x7F6E;vscode-c&#x5F00;&#x53D1;&#x73AF;&#x5883;">&#x914D;&#x7F6E;vscode C++&#x5F00;&#x53D1;&#x73AF;&#x5883;</h2>
<p>&#x4E3B;&#x8981;&#x5206;&#x4E3A;&#x914D;&#x7F6E;&#x7F16;&#x8BD1;&#x5668;&#x4FE1;&#x606F;&#xFF0C;&#x914D;&#x7F6E;&#x6784;&#x5EFA;&#x4EFB;&#x52A1;task.json&#x4EE5;&#x53CA;&#x914D;&#x7F6E;&#x8C03;&#x8BD5;&#x8BBE;&#x7F6E;lauch.json&#x6587;&#x4EF6;&#x4E09;&#x4E2A;&#x6B65;&#x9AA4;&#x3002;</p>
<h3 id="&#x914D;&#x7F6E;&#x7F16;&#x8BD1;&#x5668;&#x4FE1;&#x606F;">&#x914D;&#x7F6E;&#x7F16;&#x8BD1;&#x5668;&#x4FE1;&#x606F;</h3>
<p>&#x5728;vscode&#x754C;&#x9762;&#x6309;&#x4F4F;Ctrl + Shift + P &#x5524;&#x51FA;&#x914D;&#x7F6E;&#x754C;&#x9762;
<a href="https://cdn.llfc.club/1675219377959.jpg" data-lightbox="4975775c-04b3-4caa-b7fd-5aa18d33e136" data-title="https://cdn.llfc.club/1675219377959.jpg" target="_blank"><img src="https://cdn.llfc.club/1675219377959.jpg" alt="https://cdn.llfc.club/1675219377959.jpg"></a>
&#x5728;&#x8F93;&#x5165;&#x680F;&#x8F93;&#x5165;C/C+&#xFF0C; &#x9009;&#x62E9;&#x201C;Edit Configurations(UI)&#x201D;&#x8FDB;&#x5165;&#x914D;&#x7F6E;
<a href="https://cdn.llfc.club/1675219489602.jpg" data-lightbox="4e9d1c1c-17a7-4e6f-935f-944553e914ea" data-title="https://cdn.llfc.club/1675219489602.jpg" target="_blank"><img src="https://cdn.llfc.club/1675219489602.jpg" alt="https://cdn.llfc.club/1675219489602.jpg"></a>
&#x914D;&#x7F6E;&#x7F16;&#x8BD1;&#x5668;&#x8DEF;&#x5F84;&#x548C;IntelliSense&#x6A21;&#x5F0F;,&#x6211;&#x7684;&#x8DEF;&#x5F84;&#x662F;D:/mingw64/bin/g++.exe
<a href="https://cdn.llfc.club/1675219605854.jpg" data-lightbox="10890259-c9d8-4248-8e45-98047d956bcf" data-title="https://cdn.llfc.club/1675219605854.jpg" target="_blank"><img src="https://cdn.llfc.club/1675219605854.jpg" alt="https://cdn.llfc.club/1675219605854.jpg"></a>
&#x53E6;&#x5916;&#x8981;&#x6CE8;&#x610F;&#x914D;&#x7F6E;Include path,&#x5176;&#x4ED6;&#x4EBA;&#x7684;&#x535A;&#x5BA2;&#x5F88;&#x5C11;&#x63D0;&#x53CA;&#x8FD9;&#x70B9;&#xFF0C;&#x8FD9;&#x91CC;&#x7740;&#x91CD;&#x8BF4;&#x4E00;&#x4E0B;
<a href="https://cdn.llfc.club/1675821919856.jpg" data-lightbox="c40b7df3-723c-49de-a8a5-ae5e3f9d4ca1" data-title="https://cdn.llfc.club/1675821919856.jpg" target="_blank"><img src="https://cdn.llfc.club/1675821919856.jpg" alt="https://cdn.llfc.club/1675821919856.jpg"></a>
&#x4E0A;&#x8FF0;&#x60C5;&#x51B5;&#x914D;&#x7F6E;&#x597D;include&#x8DEF;&#x5F84;&#x540E;&#xFF0C;&#x5305;&#x542B;&#x7B2C;&#x4E09;&#x65B9;&#x5E93;&#x624D;&#x4E0D;&#x4F1A;&#x62A5;&#x9519;&#xFF0C;&#x5426;&#x5219;&#x4F1A;&#x6709;&#x9519;&#x8BEF;&#x63D0;&#x793A;&#x3002;
ctrl+s&#x4FDD;&#x5B58;&#x540E;&#x4F1A;&#x751F;&#x6210;&#x4E00;&#x4E2A;.vscode&#x6587;&#x4EF6;&#x5939;&#xFF0C;.vscode&#x6587;&#x4EF6;&#x5939;&#x91CC;&#x6709;&#x4E00;&#x4E2A;c_cpp_properties.json&#x6587;&#x4EF6;&#xFF0C;&#x8BB0;&#x5F55;&#x4E86;&#x6211;&#x4EEC;&#x914D;&#x7F6E;&#x7684;&#x7F16;&#x8BD1;&#x5668;&#x4FE1;&#x606F;&#x3002;
<a href="https://cdn.llfc.club/1675219958396.jpg" data-lightbox="0e19525a-83a4-4348-9904-916db7162087" data-title="https://cdn.llfc.club/1675219958396.jpg" target="_blank"><img src="https://cdn.llfc.club/1675219958396.jpg" alt="https://cdn.llfc.club/1675219958396.jpg"></a>
json&#x6587;&#x4EF6;&#x4FE1;&#x606F;&#x5982;&#x4E0B;</p>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;configurations&quot;</span>: [
        {
            <span class="hljs-string">&quot;name&quot;</span>: <span class="hljs-string">&quot;Win32&quot;</span>,
            <span class="hljs-string">&quot;includePath&quot;</span>: [
                <span class="hljs-string">&quot;${workspaceFolder}/**&quot;</span>
            ],
            <span class="hljs-string">&quot;defines&quot;</span>: [
                <span class="hljs-string">&quot;_DEBUG&quot;</span>,
                <span class="hljs-string">&quot;UNICODE&quot;</span>,
                <span class="hljs-string">&quot;_UNICODE&quot;</span>
            ],
            <span class="hljs-string">&quot;windowsSdkVersion&quot;</span>: <span class="hljs-string">&quot;10.0.22000.0&quot;</span>,
            <span class="hljs-string">&quot;compilerPath&quot;</span>: <span class="hljs-string">&quot;D:/mingw64/bin/g++.exe&quot;</span>,
            <span class="hljs-string">&quot;cStandard&quot;</span>: <span class="hljs-string">&quot;c17&quot;</span>,
            <span class="hljs-string">&quot;cppStandard&quot;</span>: <span class="hljs-string">&quot;c++17&quot;</span>,
            <span class="hljs-string">&quot;intelliSenseMode&quot;</span>: <span class="hljs-string">&quot;gcc-x64&quot;</span>
        }
    ],
    <span class="hljs-string">&quot;version&quot;</span>: <span class="hljs-number">4</span>
}
</code></pre>
<h3 id="&#x914D;&#x7F6E;&#x6784;&#x5EFA;&#x4EFB;&#x52A1;">&#x914D;&#x7F6E;&#x6784;&#x5EFA;&#x4EFB;&#x52A1;</h3>
<p>&#x914D;&#x7F6E;&#x4EFB;&#x52A1;&#x4E4B;&#x524D;&#x6211;&#x4EEC;&#x5148;&#x5199;&#x4E00;&#x4E2A;.cpp&#x548C;.h&#x6587;&#x4EF6;&#x7528;&#x6765;&#x6D4B;&#x8BD5;&#xFF0C;&#x7EC4;&#x7EC7;&#x5F62;&#x5F0F;&#x5982;&#x4E0B;
<a href="https://cdn.llfc.club/1675221432283.jpg" data-lightbox="92eac07f-dab5-426a-ad9e-acabe6a1e072" data-title="https://cdn.llfc.club/1675221432283.jpg" target="_blank"><img src="https://cdn.llfc.club/1675221432283.jpg" alt="https://cdn.llfc.club/1675221432283.jpg"></a>
&#x7136;&#x540E;&#x9009;&#x4E2D;&#x5DE6;&#x4FA7;&#x76EE;&#x5F55;&#x6811;&#x7684;cpp&#x6587;&#x4EF6;&#xFF0C;&#x4FDD;&#x8BC1;&#x6211;&#x4EEC;&#x6240;&#x6709;&#x7684;&#x914D;&#x7F6E;&#x90FD;&#x662F;&#x57FA;&#x4E8E;cpp&#x6784;&#x5EFA;&#x7684;&#x3002;
&#x63A5;&#x4E0B;&#x6765;&#xFF0C;&#x521B;&#x5EFA;&#x4E00;&#x4E2A;tasks.json&#x6587;&#x4EF6;&#x6765;&#x544A;&#x8BC9;VS Code&#x5982;&#x4F55;&#x6784;&#x5EFA;&#xFF08;&#x7F16;&#x8BD1;&#xFF09;&#x7A0B;&#x5E8F;&#x3002;&#x8BE5;&#x4EFB;&#x52A1;&#x5C06;&#x8C03;&#x7528;g++&#x7F16;&#x8BD1;&#x5668;&#x57FA;&#x4E8E;&#x6E90;&#x4EE3;&#x7801;&#x521B;&#x5EFA;&#x53EF;&#x6267;&#x884C;&#x6587;&#x4EF6;&#x3002; &#x6309;&#x5FEB;&#x6377;&#x952E;Ctrl+Shift+P&#x8C03;&#x51FA;&#x547D;&#x4EE4;&#x9762;&#x677F;&#xFF0C;&#x8F93;&#x5165;tasks&#xFF0C;&#x9009;&#x62E9;&#x201C;Tasks:Configure Default Build Task&#x201D;&#xFF1A;
<a href="https://cdn.llfc.club/1675220317789.jpg" data-lightbox="24e4f69b-1c59-4e85-94f8-9723991f8454" data-title="https://cdn.llfc.club/1675220317789.jpg" target="_blank"><img src="https://cdn.llfc.club/1675220317789.jpg" alt="https://cdn.llfc.club/1675220317789.jpg"></a>
&#x53EF;&#x4EE5;&#x770B;&#x5230;vscode&#x5217;&#x4E3E;&#x51FA;&#x6211;&#x7684;&#x7535;&#x8111;&#x5DF2;&#x7ECF;&#x5B89;&#x88C5;&#x7684;&#x6240;&#x6709;C++&#x7F16;&#x8BD1;&#x5668;&#xFF0C;&#x8FD9;&#x91CC;&#x9009;&#x62E9;
&#x518D;&#x9009;&#x62E9;&#x201C;C/C++: g++.exe build active file&#x201D;,&#x8FD9;&#x662F;&#x6211;&#x4EEC;&#x521A;&#x521A;&#x5B89;&#x88C5;&#x7684;mingw&#x7F16;&#x8BD1;&#x5668;
<a href="https://cdn.llfc.club/1675220601273.jpg" data-lightbox="fb3be4b3-8e78-4c32-9cb7-c8811e21ee5f" data-title="https://cdn.llfc.club/1675220601273.jpg" target="_blank"><img src="https://cdn.llfc.club/1675220601273.jpg" alt="https://cdn.llfc.club/1675220601273.jpg"></a>
&#x70B9;&#x51FB;&#x540E;vscode&#x4E3A;&#x6211;&#x4EEC;&#x81EA;&#x52A8;&#x751F;&#x6210;&#x4E86;task.json&#x6587;&#x4EF6;
<a href="https://cdn.llfc.club/1675221243876.jpg" data-lightbox="bd95dd08-6f7e-40bc-bd4d-e837c0608e45" data-title="https://cdn.llfc.club/1675221243876.jpg" target="_blank"><img src="https://cdn.llfc.club/1675221243876.jpg" alt="https://cdn.llfc.club/1675221243876.jpg"></a>
&#x8BE6;&#x7EC6;&#x7684;task.json&#x914D;&#x7F6E;&#x4FE1;&#x606F;&#x5982;&#x4E0B;</p>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;version&quot;</span>: <span class="hljs-string">&quot;2.0.0&quot;</span>,
    <span class="hljs-string">&quot;tasks&quot;</span>: [
        {
            <span class="hljs-string">&quot;type&quot;</span>: <span class="hljs-string">&quot;cppbuild&quot;</span>,
            <span class="hljs-string">&quot;label&quot;</span>: <span class="hljs-string">&quot;C/C++: g++.exe build active file&quot;</span>,
            <span class="hljs-string">&quot;command&quot;</span>: <span class="hljs-string">&quot;D:/mingw64/bin/g++.exe&quot;</span>,
            <span class="hljs-string">&quot;args&quot;</span>: [
                <span class="hljs-string">&quot;-fdiagnostics-color=always&quot;</span>,
                <span class="hljs-string">&quot;-g&quot;</span>,
                <span class="hljs-string">&quot;${file}&quot;</span>,
                <span class="hljs-string">&quot;-o&quot;</span>,
                <span class="hljs-string">&quot;${fileDirname}\\${fileBasenameNoExtension}.exe&quot;</span>
            ],
            <span class="hljs-string">&quot;options&quot;</span>: {
                <span class="hljs-string">&quot;cwd&quot;</span>: <span class="hljs-string">&quot;D:/mingw64/bin&quot;</span>
            },
            <span class="hljs-string">&quot;problemMatcher&quot;</span>: [
                <span class="hljs-string">&quot;$gcc&quot;</span>
            ],
            <span class="hljs-string">&quot;group&quot;</span>: {
                <span class="hljs-string">&quot;kind&quot;</span>: <span class="hljs-string">&quot;build&quot;</span>,
                <span class="hljs-string">&quot;isDefault&quot;</span>: <span class="hljs-literal">true</span>
            },
            <span class="hljs-string">&quot;detail&quot;</span>: <span class="hljs-string">&quot;compiler: D:/mingw64/bin/g++.exe&quot;</span>
        }
    ]
}
</code></pre>
<h3 id="&#x914D;&#x7F6E;&#x8C03;&#x8BD5;&#x8BBE;&#x7F6E;">&#x914D;&#x7F6E;&#x8C03;&#x8BD5;&#x8BBE;&#x7F6E;</h3>
<p>&#x540C;&#x6837;&#x9009;&#x4E2D;&#x5DE6;&#x4FA7;&#x76EE;&#x5F55;&#x6811;&#x7684;cpp&#x6587;&#x4EF6;&#xFF0C;&#x4FDD;&#x8BC1;&#x6211;&#x4EEC;&#x6240;&#x6709;&#x7684;&#x914D;&#x7F6E;&#x90FD;&#x662F;&#x57FA;&#x4E8E;cpp&#x6784;&#x5EFA;&#x7684;&#x3002;
&#x8FD9;&#x91CC;&#x4E3B;&#x8981;&#x662F;&#x4E3A;&#x4E86;&#x5728;.vscode&#x6587;&#x4EF6;&#x5939;&#x4E2D;&#x4EA7;&#x751F;&#x4E00;&#x4E2A;launch.json&#x6587;&#x4EF6;&#xFF0C;&#x7528;&#x6765;&#x914D;&#x7F6E;&#x8C03;&#x8BD5;&#x7684;&#x76F8;&#x5173;&#x4FE1;&#x606F;&#x3002;&#x70B9;&#x51FB;&#x83DC;&#x5355;&#x680F;&#x7684;Debug--&gt;Start Debugging&#xFF1A;
<a href="https://cdn.llfc.club/vsluanch.png" data-lightbox="4f64884c-c2fa-4246-a218-00f2cecb319e" data-title="https://cdn.llfc.club/vsluanch.png" target="_blank"><img src="https://cdn.llfc.club/vsluanch.png" alt="https://cdn.llfc.club/vsluanch.png"></a>
&#x63A5;&#x4E0B;&#x6765;&#x9009;&#x62E9;C++(GDB/LLDB), &#x5F53;&#x7136;&#x4F60;&#x9009;&#x62E9;windows&#x7684;&#x4E5F;&#x53EF;&#x4EE5;&#x3002;
<a href="https://cdn.llfc.club/1675221733059.jpg" data-lightbox="cbbbccfc-857a-41c2-86e4-79ca4db9b1b5" data-title="https://cdn.llfc.club/1675221733059.jpg" target="_blank"><img src="https://cdn.llfc.club/1675221733059.jpg" alt="https://cdn.llfc.club/1675221733059.jpg"></a>
&#x7D27;&#x63A5;&#x7740;&#x4F1A;&#x4EA7;&#x751F;&#x4E00;&#x4E2A;launch.json&#x7684;&#x6587;&#x4EF6;&#x3002;
&#x8FD9;&#x91CC;&#x6709;&#x7684;&#x4EBA;&#x6CA1;&#x6709;&#x751F;&#x6210;launch.json&#x6587;&#x4EF6;&#xFF0C;&#x800C;&#x662F;&#x76F4;&#x63A5;&#x8FD0;&#x884C;&#x6210;&#x529F;&#x4E86;&#xFF0C;&#x53EF;&#x4EE5;&#x4E0D;&#x914D;&#x7F6E;launch.json&#x6587;&#x4EF6;&#x4E86;&#x3002;
&#x5982;&#x679C;&#x751F;&#x6210;launch.json&#x6587;&#x4EF6;&#xFF0C;&#x5219;&#x5982;&#x4E0B;</p>
<pre><code class="lang-cpp">{
    <span class="hljs-comment">// Use IntelliSense to learn about possible attributes.</span>
    <span class="hljs-comment">// Hover to view descriptions of existing attributes.</span>
    <span class="hljs-comment">// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387</span>
    <span class="hljs-string">&quot;version&quot;</span>: <span class="hljs-string">&quot;0.2.0&quot;</span>,
    <span class="hljs-string">&quot;configurations&quot;</span>: []
}
</code></pre>
<p>&#x5982;&#x679C;&#x60F3;&#x751F;&#x6210;launch.json&#x8FD8;&#x6709;&#x4E00;&#x4E2A;&#x529E;&#x6CD5;&#xFF0C;&#x5C31;&#x662F;&#x70B9;&#x51FB;Run&#x9009;&#x62E9;Add Configuration, &#x5C31;&#x53EF;&#x4EE5;&#x751F;&#x6210;launch.json&#x6587;&#x4EF6;&#x4E86;&#x3002;
<a href="https://cdn.llfc.club/vsluanch2.png" data-lightbox="f59030d6-6769-4f25-a088-164898cb35e4" data-title="https://cdn.llfc.club/vsluanch2.png" target="_blank"><img src="https://cdn.llfc.club/vsluanch2.png" alt="https://cdn.llfc.club/vsluanch2.png"></a>
&#x5173;&#x4E8E;launch.json&#x6587;&#x4EF6;&#x7684;&#x914D;&#x7F6E;&#x53EF;&#x4EE5;&#x53C2;&#x8003;&#x5B98;&#x65B9;&#x6587;&#x6863;&#xFF0C;&#x5927;&#x5BB6;&#x53EF;&#x4EE5;&#x76F4;&#x63A5;&#x7528;&#x6211;&#x7684;&#x914D;&#x7F6E;&#x5982;&#x4E0B;</p>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;version&quot;</span>: <span class="hljs-string">&quot;0.2.0&quot;</span>,
    <span class="hljs-string">&quot;configurations&quot;</span>: [
        {
            <span class="hljs-string">&quot;name&quot;</span>: <span class="hljs-string">&quot;g++.exe build and debug active file&quot;</span>,
            <span class="hljs-string">&quot;type&quot;</span>: <span class="hljs-string">&quot;cppdbg&quot;</span>,
            <span class="hljs-string">&quot;request&quot;</span>: <span class="hljs-string">&quot;launch&quot;</span>,
            <span class="hljs-string">&quot;program&quot;</span>: <span class="hljs-string">&quot;${fileDirname}\\${fileBasenameNoExtension}.exe&quot;</span>,
            <span class="hljs-string">&quot;args&quot;</span>: [],
            <span class="hljs-string">&quot;stopAtEntry&quot;</span>: <span class="hljs-literal">false</span>,
            <span class="hljs-string">&quot;cwd&quot;</span>: <span class="hljs-string">&quot;${workspaceFolder}&quot;</span>,
            <span class="hljs-string">&quot;environment&quot;</span>: [],
            <span class="hljs-string">&quot;externalConsole&quot;</span>: <span class="hljs-literal">true</span>, <span class="hljs-comment">//&#x4FEE;&#x6539;&#x6B64;&#x9879;&#xFF0C;&#x8BA9;&#x5176;&#x5F39;&#x51FA;&#x7EC8;&#x7AEF;</span>
            <span class="hljs-string">&quot;MIMode&quot;</span>: <span class="hljs-string">&quot;gdb&quot;</span>,
            <span class="hljs-string">&quot;miDebuggerPath&quot;</span>: <span class="hljs-string">&quot;D:\\cppsoft\\mingw64\\bin\\gdb.exe&quot;</span>,
            <span class="hljs-string">&quot;setupCommands&quot;</span>: [
                {
                    <span class="hljs-string">&quot;description&quot;</span>: <span class="hljs-string">&quot;Enable pretty-printing for gdb&quot;</span>,
                    <span class="hljs-string">&quot;text&quot;</span>: <span class="hljs-string">&quot;-enable-pretty-printing&quot;</span>,
                    <span class="hljs-string">&quot;ignoreFailures&quot;</span>: <span class="hljs-literal">true</span>
                }
            ],
            <span class="hljs-string">&quot;preLaunchTask&quot;</span>: <span class="hljs-string">&quot;task g++&quot;</span> <span class="hljs-comment">//&#x4FEE;&#x6539;&#x6B64;&#x9879;</span>
        }
    ]
}
</code></pre>
<p>miDebuggerPath &#x6539;&#x4E3A;&#x4F60;&#x81EA;&#x5DF1;&#x7684;mingw&#x8DEF;&#x5F84;
preLaunchTask &#x4E3A;&#x4EFB;&#x52A1;&#x540D;&#x5B57;&#xFF0C;&#x4F60;&#x53EF;&#x4EE5;&#x81EA;&#x5DF1;&#x5B9A;&#x4E49;&#x4E00;&#x4E2A;&#x4EFB;&#x52A1;&#x540D;&#x5B57;&#xFF0C;&#x4EFB;&#x52A1;&#x540D;&#x5B57;&#x8981;&#x548C;task.json&#x4E2D;&#x7684;label&#x76F8;&#x5339;&#x914D;&#x3002;&#x6211;&#x7684;&#x540D;&#x5B57;&#x4E3A;&quot;task g++&quot;&#xFF0C;&#x90A3;&#x4E48;&#x6211;&#x4F1A;&#x5C06;task.json&#x4E2D;&#x7684;label&#x4E5F;&#x6539;&#x4E3A;&quot;task g++&quot;&#x3002;&#x6211;&#x7684;task.json&#x6587;&#x4EF6;&#x5982;&#x4E0B;</p>
<pre><code class="lang-cpp">{
    <span class="hljs-string">&quot;version&quot;</span>: <span class="hljs-string">&quot;2.0.0&quot;</span>,
    <span class="hljs-string">&quot;tasks&quot;</span>: [
        {
            <span class="hljs-string">&quot;type&quot;</span>: <span class="hljs-string">&quot;cppbuild&quot;</span>,
            <span class="hljs-string">&quot;label&quot;</span>: <span class="hljs-string">&quot;task g++&quot;</span>,
            <span class="hljs-string">&quot;command&quot;</span>: <span class="hljs-string">&quot;D:/mingw64/bin/g++.exe&quot;</span>,
            <span class="hljs-string">&quot;args&quot;</span>: [
                <span class="hljs-string">&quot;-fdiagnostics-color=always&quot;</span>,
                <span class="hljs-string">&quot;-g&quot;</span>,
                <span class="hljs-string">&quot;${cwd}//src//*.cpp&quot;</span>,
                <span class="hljs-string">&quot;-o&quot;</span>,
                <span class="hljs-string">&quot;${fileDirname}\\${fileBasenameNoExtension}.exe&quot;</span>
            ],
            <span class="hljs-string">&quot;options&quot;</span>: {
                <span class="hljs-string">&quot;cwd&quot;</span>: <span class="hljs-string">&quot;D:/mingw64/bin&quot;</span>
            },
            <span class="hljs-string">&quot;problemMatcher&quot;</span>: [
                <span class="hljs-string">&quot;$gcc&quot;</span>
            ],
            <span class="hljs-string">&quot;group&quot;</span>: {
                <span class="hljs-string">&quot;kind&quot;</span>: <span class="hljs-string">&quot;build&quot;</span>,
                <span class="hljs-string">&quot;isDefault&quot;</span>: <span class="hljs-literal">true</span>
            },
            <span class="hljs-string">&quot;detail&quot;</span>: <span class="hljs-string">&quot;compiler: D:/mingw64/bin/g++.exe&quot;</span>
        }
    ]
}
</code></pre>
<ul>
<li>&#x6211;&#x4EEC;&#x4FEE;&#x6539;&#x4E86;label&#x4E3A;&quot;task g++&quot;</li>
<li>&#x6211;&#x4EEC;&#x4FEE;&#x6539;&#x4E86;args&#x4E2D;&#x7684;-g&#x9009;&#x9879;&#x4E3A;&quot;${cwd}//src//*.cpp&quot;
&#x9009;&#x62E9;test.cpp&#x518D;&#x6B21;&#x8FD0;&#x884C;&#xFF0C;&#x7A0B;&#x5E8F;&#x901A;&#x8FC7;&#x3002;<h2 id="&#x5B89;&#x88C5;boost&#x5E93;">&#x5B89;&#x88C5;boost&#x5E93;</h2>
&#x5148;&#x53BB;&#x5B98;&#x7F51;&#x4E0B;&#x8F7D;boost&#x5E93;&#x6700;&#x65B0;&#x7248;&#x672C;
<a href="https://www.boost.org/users/download/" target="_blank">https://www.boost.org/users/download/</a>
&#x9009;&#x62E9;windows&#x7248;&#x672C;&#x4E0B;&#x8F7D;&#xFF0C;zip&#x548C;7z&#x683C;&#x5F0F;&#x7684;&#x90FD;&#x53EF;&#x4EE5;
<a href="https://cdn.llfc.club/1675230057233.jpg" data-lightbox="9934c76f-6cc1-4504-b0aa-ebe6cf79c626" data-title="https://cdn.llfc.club/1675230057233.jpg" target="_blank"><img src="https://cdn.llfc.club/1675230057233.jpg" alt="https://cdn.llfc.club/1675230057233.jpg"></a>
&#x89E3;&#x538B;&#x540E;&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#x6709;&#x4E2A;&#x4E00;&#x4E2A;bootstrap.bat&#x6587;&#x4EF6;&#xFF0C;&#x53CC;&#x51FB;&#x8FD0;&#x884C;&#x4F1A;&#x751F;&#x6210;b2.exe
<a href="https://cdn.llfc.club/1675231068369.jpg" data-lightbox="7385a0a5-b955-41a6-b8d7-c39340d1b6b5" data-title="https://cdn.llfc.club/1675231068369.jpg" target="_blank"><img src="https://cdn.llfc.club/1675231068369.jpg" alt="https://cdn.llfc.club/1675231068369.jpg"></a>
&#x7136;&#x540E;&#x5728;boost&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#x542F;&#x52A8;cmd&#xFF0C;&#x6267;&#x884C; &quot;.\b2.exe toolset=gcc&quot;
<a href="https://cdn.llfc.club/1675231439687.jpg" data-lightbox="c7c11d8c-02df-44c1-b8a6-6c23b20f9f75" data-title="https://cdn.llfc.club/1675231439687.jpg" target="_blank"><img src="https://cdn.llfc.club/1675231439687.jpg" alt="https://cdn.llfc.club/1675231439687.jpg"></a>
&#x7F16;&#x8BD1;&#x65F6;&#x95F4;&#x548C;&#x673A;&#x5668;&#x6027;&#x80FD;&#x6709;&#x5173;&#xFF0C;&#x6267;&#x884C;&#x7F16;&#x8BD1;&#x8FC7;&#x540E;&#xFF0C;&#x4F1A;&#x5728;stage&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#x751F;&#x6210;lib&#x6587;&#x4EF6;&#x5939;&#xFF0C;&#x91CC;&#x9762;&#x5C31;&#x662F;&#x6211;&#x4EEC;&#x8981;&#x7528;&#x5230;&#x7684;lib&#x5E93;&#x3002;
<a href="https://cdn.llfc.club/1675232553339.jpg" data-lightbox="ee320b21-132e-4310-965d-3921c1151d22" data-title="https://cdn.llfc.club/1675232553339.jpg" target="_blank"><img src="https://cdn.llfc.club/1675232553339.jpg" alt="https://cdn.llfc.club/1675232553339.jpg"></a>
&#x63A5;&#x4E0B;&#x6765;&#x9700;&#x8981;&#x5C06;boost&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#x7684;staget&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#x7684;lib&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#x7684;&#x5E93;&#x653E;&#x5230;mingw&#x7684;&#x6587;&#x4EF6;&#x5939;&#x4E0B;x86_64-w64-mingw32&#x7684;&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#x7684;lib&#x6587;&#x4EF6;&#x5939;&#x5185;&#x3002;
&#x6211;&#x7684;&#x76EE;&#x5F55;&#x5C31;&#x662F;&#x4ECE;&quot;D:\TSBrowserDownloads\boost_1_81_0\stage\lib&quot;&#x590D;&#x5236;&#x5230;&quot;D:\mingw64\x86_64-w64-mingw32\lib&quot;&#x3002;
<a href="https://cdn.llfc.club/1675232714373.jpg" data-lightbox="5ded9259-6f78-4122-9eae-af81fc80fe47" data-title="https://cdn.llfc.club/1675232714373.jpg" target="_blank"><img src="https://cdn.llfc.club/1675232714373.jpg" alt="https://cdn.llfc.club/1675232714373.jpg"></a>
&#x540C;&#x65F6;&#x4E5F;&#x8981;&#x628A;boost&#x7684;&#x5934;&#x6587;&#x4EF6;&#x4ECE;boost&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#x62F7;&#x8D1D;&#x5230;x86_64-w64-mingw32&#x7684;include&#x6587;&#x4EF6;&#x5939;&#x4E0B;
&#x4E5F;&#x5C31;&#x662F;&#x4ECE;&quot;D:\TSBrowserDownloads\boost_1_81_0\boost&quot;&#x62F7;&#x8D1D;&#x5230;D:\mingw64\x86_64-w64-mingw32\include
<a href="https://cdn.llfc.club/1675233325569.jpg" data-lightbox="de28dd33-10c1-4f74-a421-7ce69967cf22" data-title="https://cdn.llfc.club/1675233325569.jpg" target="_blank"><img src="https://cdn.llfc.club/1675233325569.jpg" alt="https://cdn.llfc.club/1675233325569.jpg"></a><h2 id="&#x6D4B;&#x8BD5;boost&#x5E93;">&#x6D4B;&#x8BD5;boost&#x5E93;</h2>
&#x9700;&#x8981;&#x5BF9;&#x5DF2;&#x7ECF;&#x914D;&#x7F6E;&#x5B8C;&#x6210;&#x7684;boost&#x5E93;&#x8FDB;&#x884C;&#x6D4B;&#x8BD5;&#xFF0C;&#x6211;&#x4EEC;&#x5199;&#x4E00;&#x4E2A;&#x7A0B;&#x5E8F;, &#x66FF;&#x6362;&#x539F;&#x6765;&#x7684;test.cpp&#x7684;main&#x51FD;&#x6570;</li>
</ul>
<pre><code class="lang-cpp"><span class="hljs-meta">#<span class="hljs-meta-keyword">include</span> <span class="hljs-meta-string">&lt;iostream&gt;</span></span>
<span class="hljs-meta">#<span class="hljs-meta-keyword">include</span> <span class="hljs-meta-string">&lt;string&gt;</span></span>
<span class="hljs-meta">#<span class="hljs-meta-keyword">include</span> <span class="hljs-string">&quot;boost/lexical_cast.hpp&quot;</span></span>

<span class="hljs-function"><span class="hljs-keyword">int</span> <span class="hljs-title">main</span><span class="hljs-params">()</span>
</span>{
    <span class="hljs-keyword">using</span> <span class="hljs-keyword">namespace</span> <span class="hljs-built_in">std</span>;
    <span class="hljs-built_in">cout</span> &lt;&lt; <span class="hljs-string">&quot;Enter your weight: &quot;</span>;
    <span class="hljs-keyword">float</span> weight;
    <span class="hljs-built_in">cin</span> &gt;&gt; weight;
    <span class="hljs-built_in">string</span> gain = <span class="hljs-string">&quot;A 10% increase raises &quot;</span>;
    <span class="hljs-built_in">string</span> wt = boost::lexical_cast&lt;<span class="hljs-built_in">string</span>&gt; (weight);
    gain = gain + wt + <span class="hljs-string">&quot; to &quot;</span>;      <span class="hljs-comment">// string operator()</span>
    weight = <span class="hljs-number">1.1</span> * weight;
    gain = gain + boost::lexical_cast&lt;<span class="hljs-built_in">string</span>&gt;(weight) + <span class="hljs-string">&quot;.&quot;</span>;
    <span class="hljs-built_in">cout</span> &lt;&lt; gain &lt;&lt; <span class="hljs-built_in">endl</span>;
    system(<span class="hljs-string">&quot;pause&quot;</span>);
    <span class="hljs-keyword">return</span> <span class="hljs-number">0</span>;
}
</code></pre>
<p>&#x6211;&#x4EEC;&#x70B9;&#x51FB;&#x8C03;&#x8BD5;&#x7684;&#x4E09;&#x89D2;&#x7B26;&#x53F7;&#x6216;&#x8005;&#x83DC;&#x5355;&#x91CC;&#x7684;run&#x547D;&#x4EE4;&#xFF0C;&#x53EF;&#x4EE5;&#x770B;&#x5230;&#x8FD0;&#x884C;&#x6210;&#x529F;&#x4E86;&#xFF0C;&#x5E76;&#x4E14;&#x5F39;&#x51FA;&#x4E86;&#x7A97;&#x53E3;
<a href="https://cdn.llfc.club/1675233803676.jpg" data-lightbox="5c9e5c39-f181-4b33-ba66-affcb68a25de" data-title="https://cdn.llfc.club/1675233803676.jpg" target="_blank"><img src="https://cdn.llfc.club/1675233803676.jpg" alt="https://cdn.llfc.club/1675233803676.jpg"></a></p>
<h2 id="&#x603B;&#x7ED3;">&#x603B;&#x7ED3;</h2>
<p>&#x6211;&#x5C06;&#x914D;&#x7F6E;&#x597D;&#x7684;&#x9879;&#x76EE;demo&#x63D0;&#x4EA4;&#x5230;gitee&#x4E86;&#xFF0C;&#x611F;&#x5174;&#x8DA3;&#x7684;&#x53EF;&#x4EE5;&#x770B;&#x4E00;&#x770B;
&#x9879;&#x76EE;&#x5730;&#x5740;
<a href="https://gitee.com/secondtonone1/testvscpp" target="_blank">https://gitee.com/secondtonone1/testvscpp</a></p>
 
          </section>
          
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>
 
          <div class="book-footer">
            
            <div class="donate">
              <div>『 赠人玫瑰 🌹 手有余香 』</div>
              <button class="donate-btn" onclick="showModal()">赞赏</button>
            </div>
             
            <div class="copyright"></div>
            
          </div>
          
        </div>
      </div>
      
    </div>

        
  </div>
  <script>
    function showModal() {
      document.getElementsByClassName("mask")[0].style.display = "block";
      document.getElementsByClassName("donate-modal")[0].style.display =
        "block";
    }
    // 切换赞赏码
    function showDonateImg(num) {
      let alipay = "";
      let wxpay = ""
      if(num){
        wxpay = "hidden"
      }else{
        alipay = "hidden"
      }
      document.getElementById("wxpay-code").hidden = wxpay;
      document.getElementById("alipay-code").hidden = alipay;
      document.getElementsByName("pay-way")[num].checked = "checked";
    }

    // 关闭赞赏框
    function closeDonateModal() {
      document.getElementsByClassName("mask")[0].style.display = "none";
      document.getElementsByClassName("donate-modal")[0].style.display = "none";
    }

    var gitbook = gitbook || [];
    gitbook.push(function () {
      gitbook.page.hasChanged({"page":{"title":"vscode配置C++以及boost库开发环境","date":"2023-01-31T17:16:43.000Z","categories":"C++","tags":"C++","level":"1.2.10.1","depth":3,"next":{"title":"[golang]","level":"1.3","depth":1,"ref":"","articles":[{"title":"[环境搭建]","level":"1.3.1","depth":2,"ref":"","articles":[{"title":"linux环境搭建和编码","level":"1.3.1.1","depth":3,"path":"sections/go/env/golang01.md","ref":"sections/go/env/golang01.md","articles":[]},{"title":"windows环境搭建和vscode配置","level":"1.3.1.2","depth":3,"path":"sections/go/env/golang02.md","ref":"sections/go/env/golang02.md","articles":[]}]},{"title":"[基础]","level":"1.3.2","depth":2,"ref":"","articles":[{"title":"基本变量和demo","level":"1.3.2.1","depth":3,"path":"sections/go/base/golang03.md","ref":"sections/go/base/golang03.md","articles":[]},{"title":"Cobra命令行参数库的使用","level":"1.3.2.2","depth":3,"path":"sections/go/base/golang04.md","ref":"sections/go/base/golang04.md","articles":[]},{"title":"slice知识介绍和使用","level":"1.3.2.3","depth":3,"path":"sections/go/base/golang05.md","ref":"sections/go/base/golang05.md","articles":[]},{"title":"map介绍","level":"1.3.2.4","depth":3,"path":"sections/go/base/golang06.md","ref":"sections/go/base/golang06.md","articles":[]}]},{"title":"[进阶]","level":"1.3.3","depth":2,"ref":"","articles":[{"title":"实现四种排序(快速，冒泡，插入，选择)","level":"1.3.3.1","depth":3,"path":"sections/go/super/golang07.md","ref":"sections/go/super/golang07.md","articles":[]},{"title":"实现堆排序","level":"1.3.3.2","depth":3,"path":"sections/go/super/golang08.md","ref":"sections/go/super/golang08.md","articles":[]},{"title":"解密定时器的实现细节","level":"1.3.3.3","depth":3,"path":"sections/go/super/golang09.md","ref":"sections/go/super/golang09.md","articles":[]},{"title":"使用etcd","level":"1.3.3.4","depth":3,"path":"sections/go/super/golang10.md","ref":"sections/go/super/golang10.md","articles":[]},{"title":"函数介绍","level":"1.3.3.5","depth":3,"path":"sections/go/super/golang11.md","ref":"sections/go/super/golang11.md","articles":[]},{"title":"结构体struct","level":"1.3.3.6","depth":3,"path":"sections/go/super/golang12.md","ref":"sections/go/super/golang12.md","articles":[]},{"title":"接口interface","level":"1.3.3.7","depth":3,"path":"sections/go/super/golang13.md","ref":"sections/go/super/golang13.md","articles":[]},{"title":"接口内部实现","level":"1.3.3.8","depth":3,"path":"sections/go/super/golang14.md","ref":"sections/go/super/golang14.md","articles":[]},{"title":"interface应用和复习","level":"1.3.3.9","depth":3,"path":"sections/go/super/golang15.md","ref":"sections/go/super/golang15.md","articles":[]},{"title":"反射用法详解","level":"1.3.3.10","depth":3,"path":"sections/go/super/golang16.md","ref":"sections/go/super/golang16.md","articles":[]},{"title":"图解Go协程调度原理","level":"1.3.3.11","depth":3,"path":"sections/go/super/golang17.md","ref":"sections/go/super/golang17.md","articles":[]},{"title":"实现生产者消费者模型","level":"1.3.3.12","depth":3,"path":"sections/go/super/golang18.md","ref":"sections/go/super/golang18.md","articles":[]},{"title":"channel详解和协程优雅退出","level":"1.3.3.13","depth":3,"path":"sections/go/super/golang19.md","ref":"sections/go/super/golang19.md","articles":[]},{"title":"defer和panic","level":"1.3.3.14","depth":3,"path":"sections/go/super/golang42.md","ref":"sections/go/super/golang42.md","articles":[]}]},{"title":"[项目实战]","level":"1.3.4","depth":2,"ref":"","articles":[{"title":"打造高并发日志采集系统（一）","level":"1.3.4.1","depth":3,"path":"sections/go/project/golang20.md","ref":"sections/go/project/golang20.md","articles":[]},{"title":"打造高并发日志采集系统（二）","level":"1.3.4.2","depth":3,"path":"sections/go/project/golang21.md","ref":"sections/go/project/golang21.md","articles":[]},{"title":"打造高并发日志采集系统（三）","level":"1.3.4.3","depth":3,"path":"sections/go/project/golang22.md","ref":"sections/go/project/golang22.md","articles":[]},{"title":"打造高并发日志采集系统（四）","level":"1.3.4.4","depth":3,"path":"sections/go/project/golang23.md","ref":"sections/go/project/golang23.md","articles":[]},{"title":"打造高并发日志采集系统（五）","level":"1.3.4.5","depth":3,"path":"sections/go/project/golang24.md","ref":"sections/go/project/golang24.md","articles":[]},{"title":"打造高并发日志采集系统（六）","level":"1.3.4.6","depth":3,"path":"sections/go/project/golang25.md","ref":"sections/go/project/golang25.md","articles":[]},{"title":"打造高并发日志采集系统（七）","level":"1.3.4.7","depth":3,"path":"sections/go/project/golang26.md","ref":"sections/go/project/golang26.md","articles":[]},{"title":"打造高并发日志采集系统（八）","level":"1.3.4.8","depth":3,"path":"sections/go/project/golang27.md","ref":"sections/go/project/golang27.md","articles":[]},{"title":"打造高并发日志采集系统（九）","level":"1.3.4.9","depth":3,"path":"sections/go/project/golang28.md","ref":"sections/go/project/golang28.md","articles":[]},{"title":"打造高并发日志采集系统（十）","level":"1.3.4.10","depth":3,"path":"sections/go/project/golang29.md","ref":"sections/go/project/golang29.md","articles":[]},{"title":"谈谈高并发秒拍系统架构设计","level":"1.3.4.11","depth":3,"path":"sections/go/project/golang30.md","ref":"sections/go/project/golang30.md","articles":[]}]},{"title":"[存储]","level":"1.3.5","depth":2,"ref":"","articles":[{"title":"操作mongo","level":"1.3.5.1","depth":3,"path":"sections/go/db/golang34.md","ref":"sections/go/db/golang34.md","articles":[]},{"title":"使用redis","level":"1.3.5.2","depth":3,"path":"sections/go/db/golang35.md","ref":"sections/go/db/golang35.md","articles":[]}]},{"title":"[网络]","level":"1.3.6","depth":2,"ref":"","articles":[{"title":"netpoll原理(一)","level":"1.3.6.1","depth":3,"path":"sections/go/net/golang31.md","ref":"sections/go/net/golang31.md","articles":[]},{"title":"netpoll原理(二)","level":"1.3.6.2","depth":3,"path":"sections/go/net/golang32.md","ref":"sections/go/net/golang32.md","articles":[]},{"title":"化繁为简，写一个简单好用的server","level":"1.3.6.3","depth":3,"path":"sections/go/net/golang33.md","ref":"sections/go/net/golang33.md","articles":[]},{"title":"对io.readfull的理解","level":"1.3.6.4","depth":3,"path":"sections/go/net/golang36.md","ref":"sections/go/net/golang36.md","articles":[]}]},{"title":"[博客系统]","level":"1.3.7","depth":2,"ref":"","articles":[{"title":"博客系统后台开发(一)服务结构","level":"1.3.7.1","depth":3,"path":"sections/go/blog/golang37.md","ref":"sections/go/blog/golang37.md","articles":[]},{"title":"博客系统后台开发(二)添加渲染","level":"1.3.7.2","depth":3,"path":"sections/go/blog/golang38.md","ref":"sections/go/blog/golang38.md","articles":[]},{"title":"博客系统后台开发(三)完善项目并容器化","level":"1.3.7.3","depth":3,"path":"sections/go/blog/golang39.md","ref":"sections/go/blog/golang39.md","articles":[]}]},{"title":"[面试]","level":"1.3.8","depth":2,"ref":"","articles":[{"title":"面试题汇总(一)","level":"1.3.8.1","depth":3,"path":"sections/go/interview/golang40.md","ref":"sections/go/interview/golang40.md","articles":[]},{"title":"面试题汇总(二)","level":"1.3.8.2","depth":3,"path":"sections/go/interview/golang41.md","ref":"sections/go/interview/golang41.md","articles":[]}]}]},"previous":{"title":"[Boost和网络]","level":"1.2.10","depth":2,"ref":"","articles":[{"title":"vscode配置C++以及boost库开发环境","level":"1.2.10.1","depth":3,"path":"sections/cpp/boost/asio01.md","ref":"sections/cpp/boost/asio01.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-pro","code","theme-lou","expandable-chapters","back-to-top-button","lightbox"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"search-pro":{},"code":{"copyButtons":true},"theme-lou":{"hide-elements":[".summary .gitbook-link",".summary .divider"],"color":"#0ec485","book-anchor-title":"本篇章节","copyright":{"author":"王戊辰"},"forbidCopy":false,"logo":"/static/defaulthead.png","book-summary-title":"目录","search-placeholder":"输入要查询的关键字","favicon":"/static/favicon.ico","appleTouchIconPrecomposed152":"static/apple.png"},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"lightbox":{"jquery":true,"sameUuid":false},"back-to-top-button":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"expandable-chapters":{}},"theme":"default","author":"恋恋风辰","lang":"zh-cn","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"isbn":"图书编号","variables":{"themeLou":{"nav":[{"target":"_blank","url":"https://llfc.club","name":"官方博客地址"},{"target":"_blank","url":"https://space.bilibili.com/271469206","name":"B站"}],"footer":{"donate":{"button":"捐赠","avatar":"/static/head.jpg","nickname":"恋恋风辰","message":"随意打赏，但不要超过一顿早餐钱！","text":"『 赠人玫瑰 🌹 手有余香 』","wxpay":"/static/wechatmoney.jpg","alipay":"/static/zfbmoney.jpg"},"copyright":true}}},"title":"恋恋风辰的编程笔记","gitbook":"*","description":"汇总编程生涯的笔记"},"file":{"path":"sections/cpp/boost/asio01.md","mtime":"2023-02-08T02:18:27.432Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2023-02-10T09:59:11.894Z"},"basePath":"../../..","book":{"language":""}});
    });
  </script>
</div>

        
    <script src="../../../gitbook/gitbook.js"></script>
    <script src="../../../gitbook/theme.js"></script>
    
        
        <script src="../../../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-lightbox/js/lightbox.min.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    
        
        <script src="../../../gitbook/gitbook-plugin-theme-lou/lou.js"></script>
        
    

    </body>
</html>

